What is the concept of handle in Java?


Posted by Rich on 2022-07-18

I was googling the differences between primitive and object in Java. One of the difference is that primitive stores value and object stores handle. So I wonder what is handle? I found this post on stackoverflow.
The usual term is "object reference" (or just "reference"), rather than "handle."
There are more details in that post.










Related Posts

一個? 兩個??黑人問號

一個? 兩個??黑人問號

今天台北歷史高溫39.7度 但我在台中吹冷氣

今天台北歷史高溫39.7度 但我在台中吹冷氣

JS30 Day 27 筆記

JS30 Day 27 筆記


Comments